package com.zhoux.minidao.aspect;

import java.lang.reflect.Field;

/**
 * 
 * @author zhoux
 * @Date Mar 26, 2017
 * @Email zhoux@souche.com
 * @Desc 拦截Sql，根据操作类型
 */
public interface SqlInterceptor {
	
	public boolean onInsert(Field[] fields,Object obj) throws Exception;
	
	
	public boolean onUpdate(Field[] fields,Object obj) throws Exception;
}
